package cn.kwq.project_manger.service;

import cn.kwq.project_manger.pojo.dto.*;

import java.util.List;

public interface ProjectService {
    PageDto findGame(FindGameDto findGameDto);

    PageDto findProject(FindProjectDto findGameDto);

    ResProJDto addProject(AddProJDto project,Long userId) throws Exception;

    List<ResProJDto> findAllLikeProJ(Long userId,Integer type);

    ResProJDto addProjectLike(Long projectId, Long userId) throws Exception;

    List<ResProJDto> findAllMakeProJ(Long userId);

    ResProJDto findProjectById(Long projectId);


    ResProJDto closeProject(Long projectId);



    boolean checkProJRole(Long projectId,Long userId);



}
